package router

import (
	"day12_16_shop/internal/api/user"
	"github.com/gin-gonic/gin"
)

func UserRouter(c *gin.RouterGroup) {
	userRouter := c.Group("/user")
	{
		userRouter.POST("/register", user.UserRegister)
		userRouter.POST("/login", user.UserLogin)
	}
}
